/* 主体格式化 */
body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    background: #f2f2f2;
    /* 横向滚动条0不会显示 */
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
a {
    text-decoration: none;
    color: #222;
}
div {
    box-sizing: border-box;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* 顶部搜索模块 */
.search-index {
    display: flex;
    /* 固定定位跟父级没关系 以屏幕没准 */
    position: fixed;
    top: 0;
    left: 50%;
    /* 固定的盒子一定有宽度 */
    width: 100%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.search {
    position: relative;
    height: 26px;
    line-height: 24px;
    border: 1px solid #ccc;
    flex: 1;
    font-size: 12px;
    color: #666;
    padding-left: 25px;
    margin: 7px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}
.search::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -58px -278px;
    background-size: 104px auto;
}
.user {
    width: 44px;
    height: 44px;
    font-size: 12px;
    text-align: center;
    color: #2eaae0;
}
.user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -193px;
    background-size: 104px auto;
    margin: 3px auto -2px  ;
}
    /* <!-- 焦点图模块 start--> */
.focus {
    padding-top: 44px;
}
.focus img {
    width: 100%;
}
    /* <!-- 局部导航栏模块 start--> */
.local-nav {
    display: flex;
    height: 64px;
    background-color: #fff;
    margin: 3px 4px;
    border-radius: 8px;
}
.local-nav li {
    flex: 1;
}
.local-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}
.local-nav li [class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    margin-top: 8px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon2 {
    background-position: 0 -32px;
}
.local-nav li .local-nav-icon-icon3 {
    background-position: 0 -64px;
}
.local-nav li .local-nav-icon-icon4 {
    background-position: 0 -96px;
}
.local-nav li .local-nav-icon-icon5 {
    background-position: 0 -128px;
}
    /* <!-- 主导航栏 start--> */
nav {
    overflow: hidden;
    margin: 0 4px 3px;
    border-radius: 8px;
}
nav .nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left,#FA5A56,#FA9A4D);
}
nav .nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left,#4B8FED,#53BCED);
}
nav .nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left,#35C2AA,#6BD558);
}
.nav-common {
    display: flex;
    height: 88px;
}
.nav-common:nth-child(2) {
    margin: 3px 0;
}
.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}
.nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    font-size: 14px;
    color: #fff;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}
.nav-items a:nth-child(1) {
    border-bottom: 1px solid #fff;
}
.nav-items:nth-child(1) a {
    border: 0;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
    /* <!-- 主侧导航栏模块 start--> */
.subnav-entry {
    display: flex;
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    flex-wrap: wrap;
    padding: 5px 0;
    box-shadow:  0 2px 4px rgba(0, 0, 0, .2);
}
.subnav-entry li {
    /*  相对于父级来说的 子盒子可以写半分比 */
    flex: 20%;
}
.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subnav-entry li [class^="subnav-entry-icon"] {
    width: 28px;
    height: 28px;
    background-color: rosybrown;
    margin-top: 4px;
    background: url(../images/subnav-bg.png) no-repeat;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon2 {
    background-position: 2px -30px;
}
.subnav-entry li .subnav-entry-icon-icon3 {
    background-position: 2px -64px;
}
.subnav-entry li .subnav-entry-icon-icon4 {
    background-position: 2px -322px;
}
.subnav-entry li .subnav-entry-icon-icon5 {
    background-position: 0 -100px;
}
.subnav-entry li .subnav-entry-icon-icon6 {
    background-position: 4px -163px;
}
.subnav-entry li .subnav-entry-icon-icon7 {
    background-position: 1px -198px;
}
.subnav-entry li .subnav-entry-icon-icon8 {
    background-position: 2px -130px;
}
.subnav-entry li .subnav-entry-icon-icon9 {
    background-position: 2px -229px;
}
.subnav-entry li .subnav-entry-icon-icon10 {
    background-position: 0 -259px;
}
.sales-box {
    background-color: #fff;
    border-top: 1px solid #bbb;
    margin: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}
.sales-hd {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sales-hd h2 {
    position: relative;
    text-indent: -9999px;
    overflow: hidden;
}
.sales-hd h2::after {
    position: absolute;
    top: 8px;
    left: 20px;
    content: "";
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.more {
    position: absolute;
    top: 0;
    right: 0;
    background: -webkit-linear-gradient(left,#ff506c,#ff6bc6);
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
    color: #fff;
}
.more::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-top: 2px;
}
.row {
    display: flex;
}
.row a {
    flex: 1;
    border-bottom: 1px solid #eee;
}
.row a:nth-child(1) {
    border-right: 1px solid #eee;
}
.row a img {
    width: 100%;
}
.footer {
    display: flex;
    background-color: #fff;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    margin: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}
.footer a {
    display: flex;
    flex: 33.3333%;
    flex-direction: column;
    align-items: center;
    margin: 5px auto;
    font-size: 12px;
}
.footer [class^="footer-icons"] {
    display: block;
    width: 18px;
    height: 18px;
    background: url(../images/sprite.png) no-repeat -59px -154px;
    background-size: 104px auto;
}
.footer .footer-icons-icon2 {
    background-position: -59px -173px;
}
.footer .footer-icons-icon3 {
    background-position: -59px -309px;
}